package com.wfg.common.balance;

import com.wfg.provider.Provider;

/**
 * @author wufagang
 * @description
 * @date 2023年05月12日 20:00
 */
public abstract class AbstractLoadbalance implements Loadbalance<Provider>{

    public AbstractLoadbalance() {
    }

    public static AbstractLoadbalance getInstance(String loadBalanceName){
        if("RandomLoadbalance".equalsIgnoreCase(loadBalanceName)){

        }else if("SimpleLoadBalance".equalsIgnoreCase(loadBalanceName)){
            return new SimpleLoadBalance();
        }else {

        }
        return null;

    }
}
